package com.xiaofeng.subject.application.convert;


import com.xiaofeng.subject.application.dto.SubjectAnswerDTO;
import com.xiaofeng.subject.application.dto.SubjectInfoDTO;
import com.xiaofeng.subject.domain.entity.SubjectAnswerBO;
import com.xiaofeng.subject.domain.entity.SubjectInfoBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;


/**
 * Created with IntelliJ IDEA
 *
 * @Author: chc
 * @Date: 2024/01/23/20:34
 * @Description:
 */
@Mapper
public interface SubjectAnswerDTOConverter {

    SubjectAnswerDTOConverter INSTANCE = Mappers.getMapper(SubjectAnswerDTOConverter.class);

    SubjectAnswerBO convertDTOToBO(SubjectAnswerDTO subjectAnswerDTO);

    List<SubjectAnswerBO> convertListDTOToBO(List<SubjectAnswerDTO> dtoList);

}
